package com.diligent.cloud.sfc.model.params;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * BoxInfoParams class
 *
 * @author xf107278
 * @date 3/10/2020
 */
@Data
@ToString
@ApiModel(value = "穿条信息参数", description = "穿条信息参数")
@AllArgsConstructor
public class BoxInfoParams {
    /**
     * 物料最大长度
     */
    @ApiModelProperty(value = "物料最大长度", position = 1)
    private BigDecimal matMaxLenght;
    /**
     * 物料总体积
     */
    @ApiModelProperty(value = "物料总体积", position = 2)
    private BigDecimal matTotalVolume;
    /**
     * 物料最大高度
     */
    @ApiModelProperty(value = "物料最大高度", position = 3)
    private BigDecimal matMaxHeight;
    /**
     * 物料数量'
     */
    @ApiModelProperty(value = "物料数量", position = 4)
    private BigDecimal matDigit;
    /**
     * 物料重量
     */
    @ApiModelProperty(value = "物料重量", position = 5)
    private BigDecimal matWeight;
    /**
     * 物料总扎数
     */
    @ApiModelProperty(value = "物料总扎数", position = 6)
    private BigDecimal matTotalLotDigit;
    /**
     * 容器代码
     */
    @ApiModelProperty(value = "容器代码", position = 7)
    private String boxCode;

    @ApiModelProperty(
            value = "物料属性编号",
            position = 7
    )
    @TableField("batchId")
    private Long batchId;

    /**
     * 物料代码
     */
    @ApiModelProperty(value = "物料代码", position = 8)
    private String matCode;

    @ApiModelProperty(
            value = "物料编号",
            position = 6
    )
    @TableField("matId")
    private Long matId;


}
